{% include '../common/header.htm' %}
<div class="main">
<div class="con">
  <div class="new-blocks" id="news">
   {% channellist channel_id='2' %}
    {% foreach from=$channel_list item=v %}   
  <div class="title">{% $v.channel_name %}
         <div class="more new-more"><a href="{% $v.url %}" target="_blank"><img src="{% $template_dir %}/images/more.png"/></a></div>
       </div><!--title-->
   {% /foreach %}
    {% /channellist %}    
       <div id="imgs">
  <ul id="imgbox">
      {% imgarclist channel_id='2' num='4' %}
    {% foreach from=$imglist item=v %}
    <li style="display:block;"><a class="img_list" href="{% $v.url %}" target="_blank" ><img src="{% $v.picture_src %}"/></a>
    <p class="img_title"><a href="{% $v.url %}">{% $v.title %}</a></p></li>
    {% /foreach %}
   {% /imgarclist %}
  </ul><!--imgbox-->
  <ul id="imgnum">
    <li class="current">1</li>
    <li>2</li>
    <li>3</li>
    <li>4</li>
  </ul><!--imgnum-->
  <script src="{% $template_dir %}/js/imgchange.js"></script>
  <script language="javascript" type="text/javascript">
  slideshow(1000);
  </script>
  </div><!--imgs-->
  <ul class="blocks-ul new-blocks-ul">
       {% arclist channel_id='2' num='9' %}
         {% foreach from=$list item=v %}
         <li><img src="{% $template_dir %}/images/bullet_blue (1).png"/>
         {% if $v.top eq 'true' %}
         <a href="{% $v.url %}" target="_blank" title="{% $v.title %}" class="article_is_top" >{% $v.title %}</a>
         {% else %}
         <a href="{% $v.url %}"  target="_blank" title="{% $v.title %}">{% $v.title %}</a>
         {% /if %}
         <span class="time">{% $v.publish_time %}</span></li>
         {% /foreach %}
    {% /arclist %}
         
      </ul>
  </div><!--new-blocks-->
<div class="new-blocks" id="forecast">
{% weather city_id='101110704' num='4' %}
     <div class="title">天气预报-{% $weather.city %}</div><!--title-->
     <ul class="forecast-block" id="weather">
     {% foreach from=$weather.everyday item=v %}    
     <li><div class="f-time f-block">{% $v.date %}&nbsp;{% $v.week %}</div>
           <div class="f-weather">
           <div ><img src="{% $template_dir %}/image/42x30/d{% $v.day_img %}.gif" /></div>
           <div>{% $v.day_img_title %}</div>
           </div>
           <div class="f-weather">
           <div ><img src="{% $template_dir %}/image/42x30/n{% $v.night_img %}.gif" /></div>
           <div>{% $v.night_img_title %}</div>
           </div>
           <div class="f-tem f-block">{% $v.temperature %}</div>
           <div class="f-detail f-block">{% $v.wind %}&nbsp;{% $v.wind_power %}</div>
       </li>
     {% /foreach %}
     {% /weather %}
     </ul>
  </div><!--forecast-->
  <div class="new-blocks" id="useful">
    <img src="{% $template_dir %}/images/useful.png"/>
  </div><!--useful-->
  <div class="blocks tab" id="tab1">
     <div class="title tab-title">
        <ul id="tab-kind">
        {% channellist channel_id='5' %}
        {% foreach from=$channel_list item=v %}
          <li id="tab-kind1" class="cur" onmouseover="changekind(1)">{% $v.channel_name %}</li>
        {% /foreach %}
        {% /channellist %}
        {% channellist channel_id='6' %}
        {% foreach from=$channel_list item=v %}
          <li id="tab-kind2"  onmouseover="changekind(2)">{% $v.channel_name %}</li>
        {% /foreach %}
        {% /channellist %}
          <!--<li id="tab-kind2" onmouseover="changekind(2)"><a href="#" target="_blank">气象信息参考</a></li>-->
       </ul><!--tab-kind end-->
     </div><!--title-->
     <ul id="tab-cons1" class="blocks-ul tab-ul">
         
       {% arclist channel_id='5' num='8' %}
      {% foreach from=$list item=v %}
      
      <li><img src="{% $template_dir %}/images/bullet_blue (1).png"/>
      {% if $v.top eq 'true' %}
      <a href="{% $v.url %}"  target="_blank" title="{% $v.title %}" class="article_is_top">{% $v.title %}</a>
      {% else %}
      <a href="{% $v.url %}"  target="_blank" title="{% $v.title %}">{% $v.title %}</a>
      {% /if %}
      <span>{% $v.publish_time %}</span></li>
       {% /foreach %}
       {% /arclist %}
        {% channellist channel_id='5' %}
        {% foreach from=$channel_list item=v %}
            <div class="tab-more"><a href="{% $v.url %}" target="_blank"><img src="{% $template_dir %}/images/more.png"/></a></div>
        {% /foreach %}
        {% /channellist %}
        </ul><!--tab-cons1-->
         <ul id="tab-cons2" class="blocks-ul tab-ul">
        {% arclist channel_id='6' num='8' %}
      {% foreach from=$list item=v %}
      
      <li><img src="{% $template_dir %}/images/bullet_blue (1).png"/>
      {% if $v.top eq 'true' %}
      <a href="{% $v.url %}"  target="_blank" title="{% $v.title %}" class="article_is_top">{% $v.title %}</a>
      {% else %}
      <a href="{% $v.url %}"  target="_blank" title="{% $v.title %}">{% $v.title %}</a>
      {% /if %}
      <span>{% $v.publish_time %}</span></li>
       {% /foreach %}
       {% /arclist %}
        {% channellist channel_id='6' %}
        {% foreach from=$channel_list item=v %}
            <div class="tab-more"><a href="{% $v.url %}" target="_blank"><img src="{% $template_dir %}/images/more.png"/></a></div>
        {% /foreach %}
        {% /channellist %}
        </ul><!--tab-cons2-->
  </div><!--tab1-->
  <div class="blocks tab" id="tab2">
    <div class="title tab-title">
        <ul id="tab-kind-2">
            {% channellist channel_id='7' %}
        {% foreach from=$channel_list item=v %}
          <li id="tab-kinds1" class="cur" onmouseover="changekinds(1)">{% $v.channel_name %}</li>
        {% /foreach %}
        {% /channellist %}
          <!--<li id="tab-kinds1" class="cur" onmouseover="changekinds(1)"><a href="#" target="_blank">气象科普</a></li>-->
          {% channellist channel_id='8' %}
        {% foreach from=$channel_list item=v %}
          <li id="tab-kinds2"  onmouseover="changekinds(2)">{% $v.channel_name %}</li>
        {% /foreach %}
        {% /channellist %}
       </ul><!--tab-kind end-->
     </div><!--title-->
     <ul id="tab-conss1" class="blocks-ul tab-ul">
           {% arclist channel_id='7' num='8' %}
      {% foreach from=$list item=v %}
      
      <li><img src="{% $template_dir %}/images/bullet_blue (1).png"/>
      {% if $v.top eq 'true' %}
      <a href="{% $v.url %}"  target="_blank" title="{% $v.title %}" class="article_is_top">{% $v.title %}</a>
      {% else %}
      <a href="{% $v.url %}"  target="_blank" title="{% $v.title %}">{% $v.title %}</a>
      {% /if %}
      <span>{% $v.publish_time %}</span></li>
       {% /foreach %}
       {% /arclist %}
        {% channellist channel_id='7' %}
        {% foreach from=$channel_list item=v %}
            <div class="tab-more"><a href="{% $v.url %}" target="_blank"><img src="{% $template_dir %}/images/more.png"/></a></div>
        {% /foreach %}
        {% /channellist %}
        </ul><!--tab-cons1-->
         <ul id="tab-conss2" class="blocks-ul tab-ul">
           {% arclist channel_id='8' num='8' %}
      {% foreach from=$list item=v %}
      
      <li><img src="{% $template_dir %}/images/bullet_blue (1).png"/>
      {% if $v.top eq 'true' %}
      <a href="{% $v.url %}"  target="_blank" title="{% $v.title %}" class="article_is_top">{% $v.title %}</a>
      {% else %}
      <a href="{% $v.url %}"  target="_blank" title="{% $v.title %}">{% $v.title %}</a>
      {% /if %}
      <span>{% $v.publish_time %}</span></li>
       {% /foreach %}
       {% /arclist %}
        {% channellist channel_id='8' %}
        {% foreach from=$channel_list item=v %}
            <div class="tab-more"><a href="{% $v.url %}" target="_blank"><img src="{% $template_dir %}/images/more.png"/></a></div>
        {% /foreach %}
        {% /channellist %}
        </ul><!--tab-cons2-->
  
  </div><!--tab2-->
</div><!--con-->
<div class="side">
    <div class="blocks" id="short-mess">
    {% channellist channel_id='3' %}
    {% foreach from=$channel_list item=v %}
      <div class="title">{% $v.channel_name %}
          <div class="more"><a href="{% $v.url %}" target="_blank"><img src="{% $template_dir %}/images/more.png"/></a>         </div></div><!--title-->
    {% /foreach %}
    {% /channellist %}
          <ul class="blocks-ul">
           {% arclist channel_id='3' num='9' %}
           {% foreach from=$list item=v %}
         <li>
             <img src="{% $template_dir %}/images/bullet_blue (1).png"/>
             {% if $v.top eq 'true' %}
             <a href="{% $v.url %}" target="_blank" title="{% $v.title %}" class="article_is_top" >{% $v.title %}</a>
             {% else %}
             <a href="{% $v.url %}"  target="_blank" title="{% $v.title %}">{% $v.title %}</a>
             {% /if %}
             <span class="time">{% $v.publish_time %}</span>
         </li>
         {% /foreach %}
         {% /arclist %}
      </ul>
    </div><!--short-mess-->
    <div class="blocks" id="video">
       
       <div class="title">天气快播
         <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="256" height="220" id="FLVPlayer">
           <param name="movie" value="{% $template_dir %}/FLVPlayer_Progressive.swf" />
           <param name="quality" value="high" />
           <param name="wmode" value="opaque" />
           <param name="scale" value="noscale" />
           <param name="salign" value="lt" />
           <param name="FlashVars" value="&amp;MM_ComponentVersion=1&amp;skinName={% $template_dir %}/Clear_Skin_1&amp;streamName={% $index_movie %}&amp;autoPlay=false&amp;autoRewind=false" />
           <param name="swfversion" value="8,0,0,0" />
           <!-- 此 param 标签提示使用 Flash Player 6.0 r65 和更高版本的用户下载最新版本的 Flash Player。如果您不想让用户看到该提示，请将其删除。 -->
           <param name="expressinstall" value="{% $template_dir %}/Scripts/expressInstall.swf" />
           <!-- 下一个对象标签用于非 IE 浏览器。所以使用 IECC 将其从 IE 隐藏。 -->
           <!--[if !IE]>-->
           <object type="application/x-shockwave-flash" data="{% $template_dir %}/FLVPlayer_Progressive.swf" width="256" height="220">
             <!--<![endif]-->
             <param name="quality" value="high" />
             <param name="wmode" value="opaque" />
             <param name="scale" value="noscale" />
             <param name="salign" value="lt" />
             <param name="FlashVars" value="&amp;MM_ComponentVersion=1&amp;skinName={% $template_dir %}/Clear_Skin_1&amp;streamName={% $index_movie %}&amp;autoPlay=false&amp;autoRewind=false" />
             <param name="swfversion" value="8,0,0,0" />
             <param name="expressinstall" value="{% $template_dir %}/Scripts/expressInstall.swf" />
             <!-- 浏览器将以下替代内容显示给使用 Flash Player 6.0 和更低版本的用户。 -->
             <div>
               <h4>此页面上的内容需要较新版本的 Adobe Flash Player。</h4>
               <p><a href="http://www.adobe.com/go/getflashplayer"><img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="获取 Adobe Flash Player" /></a></p>
             </div>
             <!--[if !IE]>-->
           </object>
           <!--<![endif]-->
         </object>
      </div><!--title-1-->
    </div><!--video-->
    <div class="blocks" id="service">
    {% channellist channel_id='4' %}
    {% foreach from=$channel_list item=v %}
      <div class="title">{% $v.channel_name %}
          <div class="more"><a href="{% $v.url %}" target="_blank"><img src="{% $template_dir %}/images/more.png"/></a>         </div></div><!--title-->
    {% /foreach %}
    {% /channellist %}     
          <ul class="blocks-ul">
          {% arclist channel_id='4' num='9' %}
           {% foreach from=$list item=v %}    
         <li><img src="{% $template_dir %}/images/bullet_blue (1).png"/>
           {% if $v.top eq 'true' %}
         <a href="{% $v.url %}" target="_blank" title="{% $v.title %}" class="article_is_top" >{% $v.title %}</a>
         {% else %}
         <a href="{% $v.url %}"  target="_blank" title="{% $v.title %}">{% $v.title %}</a>
         {% /if %}
         <span class="time">{% $v.publish_time %}</span></li>
         {% /foreach %}
    {% /arclist %}
         
      </ul>
    </div><!--service-->
</div><!--side-->
<div class="clear"></div><!--clear-->
<div class="friend">
  <div class="title-f">友情链接</div>
  <select class="friend-block" name="friend-1" onchange="window.open(this.value,",")">
    <option value="#" selected="selected">-------(县)市气象网站-------</option>
    <option value="#">华阴县气象局</option>
  </select>
  <select class="friend-block" name="friend-1" onchange="window.open(this.value,",")">
    <option value="#" selected="selected">-------气象网站-------</option>
    <option value="#">华阴县气象局</option>
  </select>
  <select class="friend-block" name="friend-1" onchange="window.open(this.value,",")">
    <option value="#" selected="selected">-------内部网站-------</option>
    <option value="#">华阴县气象局</option>
  </select>
  <select class="friend-block" name="friend-1" onchange="window.open(this.value,",")">
    <option value="#" selected="selected">-------其他网站-------</option>
    <option value="#">华阴县气象局</option>
  </select>
</div><!--friend-->
<div class="clear"></div><!--clear-->
</div><!--main-->
{% include '../common/footer.htm' %}